
Configuring the BEEP Linux DesktopCPE-BEEP User Guide
Broadcom
®
BEEP Linux Desktop
May 17, 2017 • CPE-BEEP-UG100-R Page 5
Configuring the BEEP Linux Desktop
To run BEEP on a desktop, the DBUS configuration file must be setup for BEEP components and applications
to function on DBUS. This configuration needs to be changed when there is a change in an application’s DBUS
name, permission change, or when a new application is added.
In the following example, pmd, cwmp, and the spTestSuite programs, spMaster and spRobot, are given
permission to send and receive on DBUS.
Create DBUS Configuration for BEEP
Create the DBUS configuration under /etc/dbus-1/system.d/my.com.brcm.conf with the content shown below
for the BEEP framework, with cwmp, and spTestsuite packages to run on DBUS. The policy user must be
updated with the relevant user-name on the host Linux system.
<?xml version="1.0"?> <!--*-nxml-*-->
<busconfig>
<policy user="user-name">
<allow own="com.broadcom.pmd"/>
<allow send_destination="com.broadcom.pmd"/>
<allow receive_sender="com.broadcom.pmd"/>
</policy>
<policy user="user-name">
<allow own="com.broadcom.cwmp"/>
<allow send_destination="com.broadcom.cwmp"/>
<allow receive_sender="com.broadcom.cwmp"/>
</policy>
<policy user="user-name">
<allow own="com.broadcom.spMaster"/>
<allow send_destination="com.broadcom.spMaster"/>
<allow receive_sender="com.broadcom.spMaster"/>
</policy>
<policy user="user-name">
<allow own="com.broadcom.spRobot"/>
<allow send_destination="com.broadcom.spRobot"/>
<allow receive_sender="com.broadcom.spRobot"/>
</policy>
</busconfig>
Create openssl Configuration for BEEP
If cwmpd is run on the Linux desktop and it requires openssl, then an extra openssl configuration is required on
the desktop environment. The cwmpd must have access to the configuration file. Copy this file from the
reference SDK at
~/SDK/userspace/public/libs/bcm_sslconf/sslconf.xml. The content of the file is as follows.
If the configuration file is missing, the error shown in Figure 1 will be seen when cwmpd is executed.
<sslconfig>
<httpd>
<CipherString>TLSv1.2,TLSv1,SSLv3</CipherString>
<Protocol>TLSv1.2,TLSv1.1,TLSv1,SSLv3</Protocol>
<Curves>P-256:P-384</Curves>
Broadcom Confidential for
dsshin2 @ humaxdigital.com